package com.ivc.report.service;

import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Workbook;

/**
 * 报表
 *
 * @author hedongzhou
 *
 */
@SuppressWarnings("all")
public interface ReportService {

	/**
	 * 查询总数
	 * 
	 * @param params
	 * @return
	 */
	public int count(Map params);

	/**
	 * 查询列表
	 * 
	 * @param params
	 * @return
	 */
	public List<Map> query(Map params);

	/**
	 * 查询所有
	 * 
	 * @param params
	 * @return
	 */
	public List<Map> queryAll(Map params);

	/**
	 * 创建报表Excel
	 * 
	 * @param params
	 * @return
	 * @throws Exception
	 */
	public Workbook createExcel(Map params) throws Exception;

}
